/**
 * 
 */
package com.mvc.model.healthmanager.archive;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import com.mvc.model.base.IdEntity;

/**
 * 心电图数据
 * @author qingjie
 * Date:2015-12-02
 */
@Entity
@Table(name="yh_electrocardio")
@DynamicInsert(true)
@DynamicUpdate(true)
public class Electrocardio extends IdEntity implements Serializable {
	private static final long serialVersionUID = -6420991708296938755L;
	
	private String personId;//
	private String filePath;//文件路径
	private String reportPath;//报告路径
	private String heaterate;//心率
	private String personName;//患者名称
	private String createDate;//创建日期
	private String heatePicture;//心电代码
	private Integer sate;//心电状态
	private Integer count;//随访次数
	
	private String order;//排序
	
	private String sensorId;
	private String gatewayId;
	private String gender;
	private String state;
	private Date ctrateDate;
	private Date modifyDate;
	private Integer personAge;
	private byte[] heartPicture;
	public String getPersonId() {
		return personId;
	}
	public String getFilePath() {
		return filePath;
	}
	public String getReportPath() {
		return reportPath;
	}
	public String getHeaterate() {
		return heaterate;
	}
	public String getPersonName() {
		return personName;
	}
	public String getCreateDate() {
		return createDate;
	}
	public String getHeatePicture() {
		return heatePicture;
	}
	public void setPersonId(String personId) {
		this.personId = personId;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	public void setReportPath(String reportPath) {
		this.reportPath = reportPath;
	}
	public void setHeaterate(String heaterate) {
		this.heaterate = heaterate;
	}
	public void setPersonName(String personName) {
		this.personName = personName;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	public void setHeatePicture(String heatePicture) {
		this.heatePicture = heatePicture;
	}
	public Integer getSate() {
		return sate;
	}
	public void setSate(Integer sate) {
		this.sate = sate;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	@Transient
	public String getOrder() {
		return order;
	}
	@Transient
	public void setOrder(String order) {
		this.order = order;
	}
	@Transient
	public String getSensorId() {
		return sensorId;
	}
	@Transient
	public String getGatewayId() {
		return gatewayId;
	}
	@Transient
	public String getGender() {
		return gender;
	}
	@Transient
	public String getState() {
		return state;
	}
	@Transient
	public Date getCtrateDate() {
		return ctrateDate;
	}
	@Transient
	public Date getModifyDate() {
		return modifyDate;
	}
	@Transient
	public Integer getPersonAge() {
		return personAge;
	}
	@Transient
	public byte[] getHeartPicture() {
		return heartPicture;
	}
	@Transient
	public void setSensorId(String sensorId) {
		this.sensorId = sensorId;
	}
	@Transient
	public void setGatewayId(String gatewayId) {
		this.gatewayId = gatewayId;
	}
	@Transient
	public void setGender(String gender) {
		this.gender = gender;
	}
	@Transient
	public void setState(String state) {
		this.state = state;
	}
	@Transient
	public void setCtrateDate(Date ctrateDate) {
		this.ctrateDate = ctrateDate;
	}
	@Transient
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	@Transient
	public void setPersonAge(Integer personAge) {
		this.personAge = personAge;
	}
	@Transient
	public void setHeartPicture(byte[] heartPicture) {
		this.heartPicture = heartPicture;
	}
	
}
